feat(ux): add config file support and standardize configuration options#57
Open
shrwnsan wants to merge 3 commits into
Open
feat(ux): add config file support and standardize configuration options#57shrwnsan wants to merge 3 commits into
shrwnsan wants to merge 3 commits into
Conversation
Add ~/.agentbox/config for persistent settings (tool, Java, Claude channel). Make Java opt-out with --no-java flag (backwards compatible). Add --cc-latest flag for latest Claude Code channel. Improve Java status message to avoid command-not-found errors. Config file supports bash key=value format with shebang for syntax highlighting. CLI flags override config file settings. Co-Authored-By: GLM <zai-org@users.noreply.github.com>
Override AGENTBOX_INCLUDE_OPENCODE=false when AGENTBOX_TOOL=opencode since the tool cannot run without being installed. Co-Authored-By: GLM <zai-org@users.noreply.github.com>
- Prefix all Docker ARGs with AGENTBOX_ for consistency (INCLUDE_JAVA, CC_CHANNEL, etc.) - Add AGENTBOX_SIMPLE_PROMPT arg for simple traditional Unix-style prompt (user@host:~) - Keep default oh-my-zsh theme for backwards compatibility - Maintain terminal size handling for better TTY support - Add projects/ and .agents/ to .gitignore Co-Authored-By: OpenCode <noreply@opencode.ai>
This was referenced Feb 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.agentbox/configfile for persistent settings (bash key=value format)--no-javaflag to exclude Java toolchain (default: included for backwards compatibility)--no-opencodeflag to exclude OpenCode installation (default: included)--cc-latestflag for Claude Code latest channel (default: stable)AGENTBOX_TOOL=opencodeis set, overridingAGENTBOX_INCLUDE_OPENCODE=falseConfiguration
Config file supports bash syntax with shebang for editor syntax highlighting:
CLI flags override config file settings.
Examples
Benefits
--no-javaand--no-opencode--cc-latestflag